package api.feign;

import api.config.OpenFeignConfig;
import com.lyx.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * --- Be Humble and Hungry ---
 *
 * @author Liyuexian
 * @date 2024/8/13
 * @desc
 */
@FeignClient(value="lyx-user",configuration = OpenFeignConfig.class)
public interface LogService {
    @GetMapping("/server/sms/all")
    R smsLogs(@RequestParam("phone") String phone);
    @GetMapping("/server/userlog/all")
    R userLogs(@RequestParam("uid") Integer uid);
    @GetMapping("/server/kickback/all")
    R kickLogs(@RequestParam("uid") Integer uid);
    @GetMapping("/server/invite/all")
    R intiLogs(@RequestParam("uid") Integer uid);
    @GetMapping("/server/sign/all")
    R SignLogs(@RequestParam("uid")Integer uid);
}
